package org.polaris.gift.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;
import org.polaris.gift.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author polaris
 * @since 2023-06-24
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> advancedAndAssociatedQueryAndPaging(@Param("page") Page<Tenant> page,@Param("keyword") String keyword);

    void bindMeal(@Param("id") Long id,@Param("meals") List<Long> meal);
}
